package org.caowei.samples.sevice;

import java.util.List;

import org.caowei.samples.model.Subject;
import org.caowei.samples.vo.UserVO;


public interface ISubjectService {

	public List<Subject> findAllSubjects()throws Exception;

	public void createSubject(Subject subject) throws Exception;

	public void editSubject(Subject subject) throws Exception;

	public Subject getSubjectById(int id)throws Exception;

	public void deleteSubject(int id) throws Exception;

	List<String> getAllUserBySubject(Integer subjectId);

	List<UserVO> getAllStudent();

	public void saveSubjectStudent(List<String> subjectStudents, Integer subjectId);

	public void TchangeStatus(Integer subjectId) throws Exception;

}
